import { createPinia } from 'pinia'
import useLoginStore from '@/store/login';
import type { App } from 'vue'

const HomeStore = (app: App<Element>) => {
    const pinia = createPinia()
    app.use(pinia)

    const loginStore = useLoginStore()
    // 注册所有的路由
    loginStore.getRegisterAction()
}

export default HomeStore
